This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Tools: Fix style and modality of errors in loader and creator #2489
Merged
iLLiCiTiT
merged 13 commits into
develop
from
feature/OP-2314_Error-message-in-Loader-is-not-on-top
Jan 6, 2022
Merged
Tools: Fix style and modality of errors in loader and creator #2489
iLLiCiTiT
merged 13 commits into
develop
from
feature/OP-2314_Error-message-in-Loader-is-not-on-top
Jan 6, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task linked: OP-2314 Error message in Loader is not on top |
iLLiCiTiT
changed the title
fix style and dialog modality to parent widget
Tools: Fix style and modality of errors in loader and creator
Jan 5, 2022
kalisp
approved these changes
Jan 6, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works, it looks much nicer now.
mkolar
deleted the
feature/OP-2314_Error-message-in-Loader-is-not-on-top
branch
January 6, 2022 16:39
For future reference. This is what it looks like after this PR: The Crash Loader name is my custom Loader that forces an error with Copied report:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brief description
Error dialog in loader miss styles and is under Loader window if Loader tool has flag
AlwaysOnTop
. Also traceback could be collapsible.Description
The error dialog does not have parent which would fix the modality and style issue. The traceback can extend the dialog to infinite size so it would be nice to have it collapsible and if the contet would be in
QTextEdit
which has scrollbars so the text size of traceback won't matter.Changes
LoadErrorMessageBox
andCreateErrorMessageBox
inherit from baseErrorMessageBox
LoadErrorMessageBox
andCreateErrorMessageBox
openpype.style
has new functionget_style_image_path
which returns path to image resources in style folderClickableFrame
from new publisher to utils and extended it to 2 versionsResolves #2487